import request from '@/utils/request'

// 查询公寓退租账单列表
export function listFeApartmentCancelBill(query) {
  return request({
    url: '/life/feApartmentCancelBill/list',
    method: 'get',
    params: query
  })
}

// 查询公寓退租账单详细
export function getFeApartmentCancelBill(id) {
  return request({
    url: '/life/feApartmentCancelBill/' + id,
    method: 'get'
  })
}

// 新增公寓退租账单
export function addFeApartmentCancelBill(data) {
  return request({
    url: '/life/feApartmentCancelBill',
    method: 'post',
    data: data
  })
}

// 修改公寓退租账单
export function updateFeApartmentCancelBill(data) {
  return request({
    url: '/life/feApartmentCancelBill',
    method: 'put',
    data: data
  })
}

// 删除公寓退租账单
export function delFeApartmentCancelBill(id) {
  return request({
    url: '/life/feApartmentCancelBill/' + id,
    method: 'delete'
  })
}
